export async function set(state) {
    new Promise((resolve, reject) => {
      this.setState(state, () => { resolve() })
    })
  }